import rtlsdr
from platform import system

def serial_addresses():
    return rtlsdr.RtlSdr.get_device_serial_addresses()

def suffix():
    suffixes = {
        'Darwin' : '.dylib',
        'Linux'  : '.so',
        'Windows': '.dll'
    }
    return suffixes[system()]
